/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package vn.com.sml.SEFM.BUS;

import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import javax.persistence.RollbackException;
import javax.transaction.HeuristicMixedException;
import javax.transaction.HeuristicRollbackException;
import javax.transaction.SystemException;
import org.hibernate.HibernateException;
import org.hibernate.Query;
import org.hibernate.Session;
import org.hibernate.Transaction;
import vn.com.sml.SEFM.domain.Fraudstandard;
import vn.com.sml.SEFM.util.HibernateUtil;
import vn.com.sml.SEFM.DAO.fraudStandardDAO;
/**
 *
 * @author Tunp
 */
public class fraudStandardBUS {
    public static Boolean update(Fraudstandard fraudStandard) {
        return fraudStandardDAO.update(fraudStandard);
    }
    
    public static List<Fraudstandard> listfraudStandards(String search_col, String search_text) {
        return fraudStandardDAO.listfraudStandards(search_col, search_text);
    }
    
    public static List<Fraudstandard> listfraudStandards() {
        return fraudStandardDAO.listfraudStandards();
    }
    
    public static Fraudstandard getFraudStandardById(int id) {
        return fraudStandardDAO.getFraudStandardById(id);
    }
}
